Skip to content

Conversation

bergmeister
Copy link
Collaborator

PR Summary

Fixes #1311 by refining the logic to determine if a pipeline spans one line or not. Previously it compared only the StartLineNumber of the first and last pipeline to be equal. Now the logic needs to be tweaked with an OR condition where also the EndLineNumber of the first and last pipeline is checked for equality.
Code was also made more readable.

PR Checklist

Co-Authored-By: Robert Holt <rjmholt@gmail.com>
@bergmeister bergmeister merged commit 171c81d into PowerShell:master Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PipelineIndentationStyle: When set to other settings other than NoIndentation: Edge case: Incorrect indentation due to backtick
2 participants